package com.tz.hotelmanager.mapper.impl;

import java.util.List;

import com.tz.hotelmanager.domain.House;
import com.tz.hotelmanager.domain.HouseExample;
import com.tz.hotelmanager.mapper.HouseMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HouseMapperImpl implements HouseMapper {
  @Autowired
  HouseMapper houseMapper;

  @Override
  public int countByExample(HouseExample example) {
    
    return houseMapper.countByExample(example);
  }

  @Override
  public int deleteByExample(HouseExample example) {
    
    return houseMapper.deleteByExample(example);
  }

  @Override
  public int deleteByPrimaryKey(Integer id) {
    
     return houseMapper.deleteByPrimaryKey(id);
  }

  @Override
  public int insert(House record) {
    
     return houseMapper.insert(record);
  }

  @Override
  public int insertSelective(House record) {
    
     return houseMapper.insertSelective(record);
  }

  @Override
  public List<House> selectByExample(HouseExample example) {
    
     return houseMapper.selectByExample(example);
  }

  @Override
  public House selectByPrimaryKey(Integer id) {
    
     return houseMapper.selectByPrimaryKey(id);
  }

  @Override
  public int updateByExampleSelective(House record, HouseExample example) {
    
     return houseMapper.updateByExampleSelective(record,example);
  }

  @Override
  public int updateByExample(House record, HouseExample example) {
    
     return houseMapper.updateByExample(record,example);
  }

  @Override
  public int updateByPrimaryKeySelective(House record) {
    
     return houseMapper.updateByPrimaryKeySelective(record);
  }

  @Override
  public int updateByPrimaryKey(House record) {
    
     return houseMapper.updateByPrimaryKey(record);
  }
  
}